import SimpleHTTPServer
import SocketServer
import webbrowser as wb

wb.open("http://localhost:8080/", new=1);

PORT = 8080
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
print "Serving ChatOnn at port ", PORT
httpd.serve_forever()